package com.chengyu.core.mapper;

import com.chengyu.core.domain.form.ServicesImportForm;
import com.chengyu.core.domain.form.ServicesSearchForm;
import com.chengyu.core.domain.result.ServicesStockResult;
import com.chengyu.core.model.PmsServices;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CustomServicesMapper {

    /**
     * 商品库存列表
     * @author LeGreen
     * @date   2022/9/18
     * @param  form 查询表单
     * @return List<GoodsStockResult>
     */
    List<ServicesStockResult> getServicesStockList(@Param("form") ServicesSearchForm form);

    void insertServicesList(List<ServicesImportForm> goodsList);

    List<PmsServices> getServicesList(@Param("form")ServicesSearchForm form);
}